﻿using YNTK.Dependency;
using System;

namespace YNTK.System.Entitys.Dto.System.SysLog
{
    /// <summary>
    /// 系统日志数据传输模型
    /// </summary>
    [SuppressSniffer]
    public class SysLogListDto
    {
        /// <summary>
        /// id
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// 操作时间
        /// </summary>
        public DateTime? creatorTime { get; set; }

        /// <summary>
        /// 操作人姓名
        /// </summary>
        public string userName { get; set; }

        /// <summary>
        /// 日志分类
        /// </summary>
        public string LogCategory { get; set; }

        /// <summary>
        /// IP地址
        /// </summary>
        public string iPAddress { get; set; }

        /// <summary>
        /// IP所在城市
        /// </summary>
        public string iPAddressName { get; set; }

        /// <summary>
        /// 请求地址
        /// </summary>
        public string requestURL { get; set; }

        /// <summary>
        /// 请求方法
        /// </summary>
        public string requestMethod { get; set; }

        /// <summary>
        /// 请求耗时
        /// </summary>
        public int? requestDuration { get; set; }

        /// <summary>
        /// 日志摘要
        /// </summary>
        public string abstracts { get; set; }

        /// <summary>
        /// 日志内容
        /// </summary>
        public string json { get; set; }

        /// <summary>
        /// 平台设备
        /// </summary>
        public string platForm { get; set; }
    }
}
